﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;

namespace DcsGauges.Gui.Rendering
{
    static class TextureManager
    {
        public static ContentManager ContentManager
        {
            get; set;
        }

        public static Texture2D GetTexture(string assetName)
        {
            Texture2D texture = ContentManager.Load<Texture2D>(assetName);
            return texture;
        }
    }
}
